package com.example.attempt.service;

import com.example.attempt.entity.Teacher;

import java.util.List;

public interface TeacherService {
    public List<Teacher> queryAll();
    public Teacher queryById(String tid);    //根据用户名查询数据
    public Teacher queryByIdAndP(String tid, String tpwd);
    public int getNum();
    public int addTeacher(Teacher teacher); //添加数据
//    public int addTeachers(List<Teacher>teachers);
    public void deleteTeacher(String tid);
}
